﻿package mvc{	import mvc.*;	import flash.events.EventDispatcher;	import flash.events.Event;	/**	 * Provides basic services for the "model" of	 * a Model/View/Controller triad.	 */	public class AbstractModel extends EventDispatcher {		public static  const UPDATE:String='model_updated';		/**		   * Constructor		   *		  		   */		public function AbstractMode() {		}		public function onUpdate(ob:Object):void {			var e:CustomEvent=new CustomEvent(AbstractModel.UPDATE);			e.ob=ob;			dispatchEvent(e);		}	}}